{include file="header.tpl" title="Lien chi nhanh can duyet"}

<form action="?id={$id}&start={$start}&end={$end}" method="post" name="list" target="_self">

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right" colspan="3" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="chuyentrang" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" >
</td>
</tr>
<tr>
<td colspan="3"><hr></td>
</tr>
<!--Trang chinh -->

<tr align="right" >
<td nowrap="nowrap" colspan="3">
Tìm kiếm theo 
  <input name="name_find" type="text" value="{$txt_find}" onkeydown="gettextbox('name_find');" onkeyup="gettextbox('name_find');">
<select name="find" onchange="changevaluesearch('find');">
  {foreach from=$cbovalue key=key item=item}
  <option {if $activecbo eq $key}selected="selected"{/if} value="{$key}">{$item}</option>
  {/foreach}
</select>
<input name="search" type="submit" value="{$ten_tim_kiem} " class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" ></td>
</tr>
<tr>
  <td width="80%"><input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
  <td align="right" valign="middle" nowrap="nowrap">
Xem từ</td>
<td align="right" nowrap="nowrap">
{if $activeleft eq 'disabled'}
<input id="replacement_top_disabled" type="submit" value="   " disabled="disabled" />
<input id="replacement_back_disabled" type="submit" value="   " disabled="disabled"/>
{else}
<input id="replacement_top" type="submit" name="backward" value="   " />
<input id="replacement_back" type="submit" name="left" value="   " />
{/if}
<input name="name" type="text" size="15" value="{$start} - {$end}" readonly="readonly" style="text-align: center">
{if $activeright eq 'disabled'}
<input id="replacement_next_disabled" type="submit" name="right" value="   " disabled="disabled"/>
<input id="replacement_end_disabled" type="submit" name="forward" value="   " disabled="disabled"/>
{else}
<input id="replacement_next" type="submit" name="right" value="   " />
<input id="replacement_end" type="submit" name="forward" value="   " />
{/if}</td>
</tr>
</table>

<table class="tborder" width="100%" border="0" cellpadding="5" cellspacing="1">
<thead>
<tr align="center">
	<th><input type="checkbox" name="test_all_check" onclick="switchSetting(this,'checkTK[]')" />
	</th>
	<th>{$lbl_chinhanh}
	</th>
	<th>{$lbl_tenchinhanh}
	</th>
	<th>{$lbl_soTKchinhanh}
	</th>
	<th>{$lbl_soTKhoiso}
	</th>
	<th>{$lbl_Status}</th>
</tr>
</thead>
{foreach key=k item=i from=$value}
	{$i}
{/foreach}
</table>
<div class="cat-btm_x"><div class="cat-btm_lft"></div><div class="cat-btm_rht"></div></div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td width="80%"><input name="acceptone" type="submit" value="{$ten_duyet_mot}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="acceptall" type="submit" value="{$ten_duyet_tatca}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="delete" type="submit" value=" {$ten_xoa} " class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
  <td align="right" valign="middle" nowrap="nowrap">
Xem từ</td>
<td align="left" nowrap="nowrap">
{if $activeleft eq 'disabled'}
<input id="replacement_top_disabled" type="submit" value="   " disabled="disabled" />
<input id="replacement_back_disabled" type="submit" value="   " disabled="disabled"/>
{else}
<input id="replacement_top" type="submit" name="backward" value="   " />
<input id="replacement_back" type="submit" name="left" value="   " />
{/if}
<input name="name" type="text" size="15" value="{$start} - {$end}" readonly="readonly" style="text-align: center">
{if $activeright eq 'disabled'}
<input id="replacement_next_disabled" type="submit" name="right" value="   " disabled="disabled"/>
<input id="replacement_end_disabled" type="submit" name="forward" value="   " disabled="disabled"/>
{else}
<input id="replacement_next" type="submit" name="right" value="   " />
<input id="replacement_end" type="submit" name="forward" value="   " />
{/if}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" colspan="3">
Tìm kiếm theo
<input name="name_find1" type="text" value="{$txt_find}" onkeydown="gettextbox('name_find1');" onkeyup="gettextbox('name_find1');">
<select name="find1" onchange="changevaluesearch('find1');">
  {foreach from=$cbovalue key=key item=item}
  <option {if $activecbo eq $key}selected="selected"{/if} value="{$key}">{$item}</option>
  {/foreach}
</select>
<input name="search" type="submit" value="{$ten_tim_kiem} " class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<!------------------------------------>
</tr>
<tr>
<td colspan="3">
<hr></td>
</tr>
<tr>
<td align="right" colspan="3" nowrap="nowrap">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
  {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="chuyentrang1" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}

